home *** CD-ROM | disk | FTP | other *** search
- #include "bars.h"
-
- long IntuitionBase;
- long GfxBase;
- long LayersBase;
- long DOSBase;
- long SysBase;
- long stdout;
- struct Functions *functions;
-
- struct ToolMaster *start(f)
-
- struct Functions *f;
-
- {
- functions = f;
- if (f->version < 3) return(0); /* Make sure this is B&P Pro! */
- SysBase = functions->SysBase;
- DOSBase = functions->DOSBase;
- IntuitionBase = functions->IntuitionBase;
- GfxBase = functions->GfxBase;
- LayersBase = functions->LayersBase;
- return((struct ToolMaster *)inittoolmaster());
- }
-
-
-